<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>登陆页</title>
    <script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/css/style.css" />

     <link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css">
     <script type="text/javascript" src="__STATIC__/hdjs/hdjs.min.js"></script>

     <script type="text/javascript">
     	$(function(){
     		//#regForm form表单
     		$('form').validate({
     			//表单的name值
 			username_log : {
     						//规则
    		 				rule:{
    		 					//必填
    		 					required : true,
    		 					minlen:1,
    		 				},
    		 				//错误的提示信息
    		 				error:{
    		 					required : '必填',
    		 					minlen:'最短为1个字符',
    		 				
    		 				},
    		 				//成功的提示信息
    		 				success:'正确',
    		 				message:'请填写用户名'
     			},
 			password_log : {
     						//规则
    		 				rule:{
    		 					//必填
    		 					required : true,
    		 					minlen:1,
    		 					
    		 				},
    		 				//错误的提示信息
    		 				error:{
    		 					required : '必填',
    		 					minlen:'最短为1个字符',
    		 					
    		 				},
    		 				//成功的提示信息
    		 				success:'正确',
    		 				message:'请填写密码'
     			}
     		})
     	})
     </script>
</head>
<body>
    <div id="log_top1">
        <div class="center">
        	<a class="a1" href=""><img src="__PUBLIC__/images/bg-jihe/logo1.jpg" alt="" /></a>
        	<a class="a2" href=""></a>
        	<a class="a3" href=""></a>
        	<a class="a4" href=""></a>
        </div>
    </div>

    <div id="log_top2">
        <div class="center">
			<img class="toppic" src="__PUBLIC__/images/bg-jihe/reg-big.png" alt="" />
			<div class="a2">
				<div class="lshadow"></div>
				<div class="rshadow"></div>
				<form action="{|U:'Login/index'}" method="post">
					<div class="top-info"><a href="">&nbsp;</a></div>
					<input type="text" name="username_log" class="username" placeholder="用户名"/>
					<span id="hd_username_log"><!-- hd验证 --></span>
					<div class="username-pic"></div>
					<input type="password" name="password_log" class="password" value="" />
					<span id="hd_password_log"><!-- hd验证 --></span>
					<div class="password-pic"></div>
					<input type="text" name="code2_log" class="code"/>
					<img src="{|U:'Index/Login/code'}" alt="" onclick="this.src=this.src+'&'+ Math.random()" class="code2" />
					<a class="change" href="javascript:;" class="change">换一张</a>
					<div class="auto"><input type="checkbox" name="auto" />&nbsp;&nbsp;7天自动登陆</div>
					<input type="submit" class="submit" />
					<p class="otherlogin"></p>
				</form>
				<script type="text/javascript">
					$(function () {
						// 登陆时的图片验证码-点击A刷新
					    var CONTROL = $('img.code2').attr('src');
					    $("a.change").click(function () {
					        var url = CONTROL + "&rand=" + Math.random();
					        $('img.code2').attr("src", url);
					    })
					})
				</script>
			</div>
        </div>
    </div>

    <div id="">
    	底部公用
    </div>

</body>
</html>